package com.example.s04mybaitsplus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
@Data
@TableName("borrowtable")
public class Borrow {
    @TableId(type=IdType.AUTO)
    private Integer borrowId;
    private String cardId;
    private String bookId;
    private Date borrowTime;
    private Date returnTime;
    private String borrowOperator;
    private String returnOperator;
}
